package com.ibp.dao;

import java.util.List;
import java.util.Map;

import com.ibp.entity.IbpEventLogData;


public interface IbpEventLogDataMapper extends BasicMapper<IbpEventLogData>{
	
	//List<IbpEventLogData> getTradeCountData(IbpEventLogData elog);
	
	List<IbpEventLogData> getTradeCountDataByCountType(IbpEventLogData elog);
	
	List<IbpEventLogData> getTradeCountRate(IbpEventLogData elog) ;
	
	//List<IbpEventLogData> getTradeConsumeTime(IbpEventLogData elog);
	
	List<IbpEventLogData> getTradeConsumeTimeByCountType(IbpEventLogData elog);
	
	List<IbpEventLogData> getTradeConsumeTimeRate(IbpEventLogData elog);
	
	/**
	 * 统计数据
	 * @param elog
	 * @return
	 */
	IbpEventLogData tradeCountforS(IbpEventLogData elog);
	IbpEventLogData tradeCountforS10(IbpEventLogData elog);
	IbpEventLogData tradeCountforM(IbpEventLogData elog);
	IbpEventLogData tradeCountforM10(IbpEventLogData elog);
	IbpEventLogData tradeCountforH(IbpEventLogData elog);
	IbpEventLogData tradeCountforD(IbpEventLogData elog);
	
	//每秒中测试数据插入
	IbpEventLogData tradeCountSeconds(Map map);
	
}